package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品记录对象 biz_people_goods
 * 
 * @author ruoyi
 * @date 2024-06-15
 */
public class BizPeopleGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long userGoodsId;

    /** 来源商品 */
    private Long sourceId;

    /** 用户ID */
    private Long peopleId;
    @Excel(name = "社区")
    private String communityName;
    /** 商品标题 */
    @Excel(name = "商品标题")
    private String title;

    /** 类目ID */
    //@Excel(name = "类目ID")
    private Long classifyId;
    private String classifyName;

    /** 社区ID */
    //@Excel(name = "社区ID")
    private Long communityId;


    /** 核销时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date verificationTime;

    /** 预期发放的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "Asia/Shanghai")
    private Date exchangeStartTime;
    /** 开始时间 */

    /** 预期发放的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "Asia/Shanghai")

    private Date exchangeEndTime;
    @Excel(name = "发放时间", width = 30)
    private String exchangeTime;
    /** 0：待领取，1：已领取 */
    //@Excel(name = "0：待领取，1：已领取")
    private Long status;

    public String getExchangeTime() {
        return exchangeTime;
    }

    public void setExchangeTime(String exchangeTime) {
        this.exchangeTime = exchangeTime;
    }

    /** 发放地址 */
//    @Excel(name = "发放地址")
    private String exchangeAddress;

    /** 发放人ID */
    //@Excel(name = "发放人ID")
    private Long verificationPeopleId;

    /** 发放人 */
    //@Excel(name = "发放人")
    private String verificationPeopleName;

    /** 商品图 */
    //@Excel(name = "商品图")
    private String imgUrl;

    /**
     * 兑换人手机号码
     */
    private String mobile;
    @Excel(name = "兑换人")
    private String peopleName;

    /** 消耗积分 */
    @Excel(name = "消耗积分")
    private Long exchangeNum;

    /** 兑换时间 */
    @JsonFormat(pattern = "yyy-MM-dd HH:mm:ss")
    @Excel(name = "兑换时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss" )
    private Date receivedTime;
    /** 0：待领取，1：已领取 */
    @Excel(name = "领取状态")
    private String statusTxt;

    public String getStatusTxt() {
        return statusTxt;
    }

    public void setStatusTxt(String statusTxt) {
        this.statusTxt = statusTxt;
    }

    /**
     * 户主
     */
    @Excel(name = "户主")
    private String headerPeople;
    /**
     * 成员
     */
    @Excel(name = "家庭成员")
    private String family;
    /**
     * 签到人
     */
    @Excel(name = "领取签字人")
    private String signIn;
    @Excel(name = "签字日期")
    private String signTime;

    public String getSignTime() {
        return signTime;
    }

    public void setSignTime(String signTime) {
        this.signTime = signTime;
    }

    public String getHeaderPeople() {
        return headerPeople;
    }

    public void setHeaderPeople(String headerPeople) {
        this.headerPeople = headerPeople;
    }

    public String getFamily() {
        return family;
    }

    public void setFamily(String family) {
        this.family = family;
    }

    public String getSignIn() {
        return signIn;
    }

    public void setSignIn(String signIn) {
        this.signIn = signIn;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public void setUserGoodsId(Long userGoodsId)
    {
        this.userGoodsId = userGoodsId;
    }

    public Long getUserGoodsId() 
    {
        return userGoodsId;
    }
    public void setSourceId(Long sourceId) 
    {
        this.sourceId = sourceId;
    }

    public Long getSourceId() 
    {
        return sourceId;
    }
    public void setPeopleId(Long peopleId) 
    {
        this.peopleId = peopleId;
    }

    public Long getPeopleId() 
    {
        return peopleId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setClassifyId(Long classifyId) 
    {
        this.classifyId = classifyId;
    }

    public Long getClassifyId() 
    {
        return classifyId;
    }
    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }
    public void setExchangeNum(Long exchangeNum) 
    {
        this.exchangeNum = exchangeNum;
    }

    public Long getExchangeNum() 
    {
        return exchangeNum;
    }
    public void setReceivedTime(Date receivedTime) 
    {
        this.receivedTime = receivedTime;
    }

    public Date getReceivedTime() 
    {
        return receivedTime;
    }
    public void setVerificationTime(Date verificationTime) 
    {
        this.verificationTime = verificationTime;
    }

    public Date getVerificationTime() 
    {
        return verificationTime;
    }
    public void setExchangeStartTime(Date exchangeStartTime)
    {
        this.exchangeStartTime = exchangeStartTime;
    }

    public Date getExchangeStartTime()
    {
        return exchangeStartTime;
    }
    public void setExchangeEndTime(Date exchangeEndTime)
    {
        this.exchangeEndTime = exchangeEndTime;
    }

    public Date getExchangeEndTime()
    {
        return exchangeEndTime;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setExchangeAddress(String exchangeAddress) 
    {
        this.exchangeAddress = exchangeAddress;
    }

    public String getExchangeAddress() 
    {
        return exchangeAddress;
    }
    public void setVerificationPeopleId(Long verificationPeopleId) 
    {
        this.verificationPeopleId = verificationPeopleId;
    }

    public Long getVerificationPeopleId() 
    {
        return verificationPeopleId;
    }
    public void setVerificationPeopleName(String verificationPeopleName) 
    {
        this.verificationPeopleName = verificationPeopleName;
    }

    public String getVerificationPeopleName() 
    {
        return verificationPeopleName;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }

    public String getPeopleName() {
        return peopleName;
    }

    public void setPeopleName(String peopleName) {
        this.peopleName = peopleName;
    }

    public String getClassifyName() {
        return classifyName;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userGoodsId", getUserGoodsId())
            .append("sourceId", getSourceId())
            .append("peopleId", getPeopleId())
            .append("peopleName", getPeopleName())
            .append("title", getTitle())
            .append("classifyId", getClassifyId())
            .append("classifyName", getClassifyName())
            .append("communityId", getCommunityId())
            .append("communityName", getCommunityName())
            .append("exchangeNum", getExchangeNum())
            .append("receivedTime", getReceivedTime())
            .append("verificationTime", getVerificationTime())
            .append("exchangeStartTime", getExchangeStartTime())
            .append("exchangeEndTime", getExchangeEndTime())
            .append("status", getStatus())
            .append("exchangeAddress", getExchangeAddress())
            .append("verificationPeopleId", getVerificationPeopleId())
            .append("verificationPeopleName", getVerificationPeopleName())
            .append("imgUrl", getImgUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
